<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?=gurl('css');?>/admin.css" />
<script language="javascript" src="<?=gurl('js');?>/common.js"></script>
</head>
<body>
	<h3 style="background:#E5ECF3; padding:5px; font-size:12px;">> <a href="<?=site_url(rnadminpath().'/main/show/main');?>">首页</a> > <a href="#">增加广告位</a></h3>
	<div style="margin-top:10px;padding:5px;border:1px solid #9FACB7;">
	<form action="" method="POST" onSubmit="return Validator.Validate(this,2);">
		<ul class="additem" style="width:450px;text-align:right;">
			<li>广告位名称：<input class="textinput" type="text" name="placename" id="placename" value="<?=$place['placename'];?>" dataType="Require" msg="请输入名称" /></li>
			<li>广告位宽度：<input class="textinput" type="text" name="width" id="width" value="<?=$place['width'];?>" dataType="Require" msg="请输入宽度" /></li>
			<li>广告位高度：<input class="textinput" type="text" name="height" id="height" value="<?=$place['height'];?>" dataType="Require" msg="请输入高度" /></li>
			<li>广告位价格：<input type="text" name="price" id="price" value="<?=$place['price'];?>" /> 元/月</li>
			<li>是否启用：<input  type="radio" name="passed" id="passed" value="1" <? if($place['passed'] == '1'):?>checked<? endif;?> />是&nbsp;<input  type="radio" name="passed" id="passed" value="0" <? if($place['passed'] == '0'):?>checked<? endif;?> />否&nbsp;</li>
			<li>小站广告位：<input  type="radio" name="forsite" id="forsite" value="1" <? if($place['forsite'] == '1'):?>checked<? endif;?> />是&nbsp;<input  type="radio" name="forsite" id="forsite" value="0" <? if($place['forsite'] == '0'):?>checked<? endif;?> />否&nbsp;</li>
			<li>会员广告位：<input  type="radio" name="formember" id="formember" value="1" <? if($place['formember'] == '1'):?>checked<? endif;?> />是&nbsp;<input  type="radio" name="formember" id="formember" value="0" <? if($place['formember'] == '0'):?>checked<? endif;?> />否&nbsp;</li>
			<li><input type="submit" name="dosubmit" id="dosubmit" value="编辑">
			<input type="button" onclick="window.history.go(-1);" value="返回">
			</li>
		</ul>
		<input type="hidden" name="placeid" id="placeid" value="<?=$place['placeid'];?>">
	</form>
	</div>
</body>
</html>
